package day13;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class test3 {
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new FileReader("study\\src\\java1.txt"));
      char[] chars=new char[1024];
        int len;
        while((len=br.read(chars))!=-1){
            System.out.println(len);

        }
        br.close();
    }
}
